using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Objects;

namespace BAL
{
   public class BALQuocTich
    {
         BALQuocTich _dal;
         public BALQuocTich()
        {
            _dal = new BALQuocTich();
        }

        public static int Insert_QuocTich(String Ten,int Status, int SapXep)
        {
            DALQuocTich _dal = new DALQuocTich();
            return _dal.Insert_QuocTich(Ten,Status,SapXep);
        }

        public static int Update_QuocTich(int id, String Ten,int Status, int SapXep)
        {
            DALQuocTich _dal = new DALQuocTich();
            return _dal.Update_QuocTich(id, Ten,Status, SapXep);
        }

        public static int Delete_QuocTich(int id)
        {
            DALQuocTich _dal = new DALQuocTich();
            return _dal.Delete_QuocTich(id);
        }

        public static List<QuocTich> GetAllItem()
        {
            DALQuocTich _dal = new DALQuocTich();
            return _dal.GetAllItem();
        }
    }
}
